"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var common_1 = require("@angular/common");
var permissions_routing_module_1 = require("./permissions-routing.module");
var account_component_1 = require("./account/account.component");
var role_component_1 = require("./role/role.component");
var forms_1 = require("@angular/forms");
var ngx_bootstrap_1 = require("ngx-bootstrap");
var role_service_1 = require("../../lib/service/admin/role.service");
var notification_module_1 = require("../../comm-components/notification/notification.module");
var permission_component_1 = require("./permission/permission.component");
var category_component_1 = require("./category/category.component");
var PermissionsModule = /** @class */ (function () {
    function PermissionsModule() {
    }
    PermissionsModule = __decorate([
        core_1.NgModule({
            imports: [
                common_1.CommonModule,
                forms_1.FormsModule,
                permissions_routing_module_1.PermissionsRouting,
                notification_module_1.NotificationModule,
                ngx_bootstrap_1.Ng2BootstrapModule,
                ngx_bootstrap_1.PaginationModule.forRoot(),
            ],
            declarations: [
                account_component_1.AccountComponent,
                role_component_1.RoleComponent,
                permission_component_1.PermissionComponent,
                category_component_1.CategoryComponent
            ],
            providers: [
                role_service_1.RoleService
            ]
        })
    ], PermissionsModule);
    return PermissionsModule;
}());
exports.PermissionsModule = PermissionsModule;
